package com.ship.dispatch.mapper.performance;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ship.common.datasource.annotation.Slave;
import com.ship.dispatch.bean.performance.vo.PerformanceDis;
import org.apache.ibatis.annotations.Select;

public interface PerformanceDisMapper extends BaseMapper<PerformanceDis> {
    @Select("SELECT mmsi,ship_status FROM ihs_ship_base WHERE imo = #{imo}")
    @Slave
    PerformanceDis getinfoById(String imo);

    @Select("SELECT url FROM ihs_ship_base_file WHERE imo = #{imo}")
    String getFromB(String imo);
}
